﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Shipwire.Messages
{
    [XmlRootAttribute("InventoryUpdate")]
    public class InventoryUpdateRequest : ShipwireRequest
    {
        public InventoryUpdateRequest()
        {
        }

        public InventoryUpdateRequest(Server server, string emailAddress, string password)
            : base(server, emailAddress, password)
        {
        }

        public Warehouse? Warehouse { get; set; }
        [XmlElement("WarehouseCountry")]
        public WarehouseCountry? Country { get; set; }
        [XmlElement("ProductCode")]
        public string[] ProductCode { get; set; }
        public bool IncludeEmpty { get; set; }
    }
}
